package com.example.analysis.mapper;

import com.example.analysis.entity.Competition;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CompetitionDao {

    int deleteByPrimaryKey(String competitionId);

    int insert(Competition record);

    int insertSelective(Competition record);

    Competition selectByPrimaryKey(String competitionId);

    int updateByPrimaryKeySelective(Competition record);

    int updateByPrimaryKey(Competition record);

    Competition selectByName(@Param("competitionName")String competitionName, @Param("competitionType")String competitionType);
}
